package com.example.new8.service;


import com.example.new8.entity.Weather;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface WeatherService {

    @GET("weather/weather")
    Observable<Weather> getData(@Query("city_name") String city);

}
